package Entity;

import java.io.Serializable;

/** this class Create new Instance of pattern*/
public class Pattern implements Serializable {

	private static final long serialVersionUID = 42L;
	
	/**attributes for pattern*/
	private String PatternID;
	private String PatternName;
	private String ProductID;
	private int MinAge;
	private int MaxAge;
	private String City;
	private int Importance;
	private int Interest;
	private int Permission;
	private String Message;
	
	/**Full constructor with all attributes*/
	public Pattern ( String PatternID, String ProductID, String PatternName, int MinAge,
			int MaxAge, String City, int Importance, int Interest,int Permission, String Message)
    {
         setPatternID(PatternID);
		 setPatternName(PatternName);
		 setProductID(ProductID);
		 setMinAge(MinAge);
		 setMaxAge(MaxAge);
		 setCity(City);
		 setImportance(Importance);
		 setInterest(Interest);
		 setPermission(Permission);
		 setMessage(Message);
    }
	
	/**default constructor*/
	public Pattern()
	{
	
	}
	
	/**get functions*/
	public String getPatternID()
	{
		return this.PatternID;
	}
	
	public String getPatternName()
	{
		return this.PatternName;
	}
	
	public String getProductID()
	{
		return this.ProductID;
	}
	
	public int getMinAge()
	{
		return this.MinAge;
	}
	
	public int getMaxAge()
	{
		return this.MaxAge;
	}
	
	public String getCity()
	{
		return this.City;
	}
	
	public int getImportance()
	{
		return this.Importance;
	}
	
	public int getInterest()
	{
		return this.Interest;
	}
	
	public int getPermission()
	{
		return this.Permission;
	}
	
	public String getMessage()
	{
		return this.Message;
	}
	
	/**set functions*/
	public void setPatternID(String PatternID)
	{  
		this.PatternID=PatternID;
	}
	
	public void setPatternName (String PatternName)
	{  
		this.PatternName=PatternName;
	}
	
	public void setProductID(String ProductID)
    {
		this.ProductID=ProductID;
    }

	public void setMinAge(int MinAge)
	{
		this.MinAge=MinAge;
	}
	
	public void setMaxAge(int MaxAge)
	{
		this.MaxAge=MaxAge;
	}
	
	public void setCity(String City)
	{
		this.City=City;
	}
	
	public void setImportance(int Importance)
	{
		this.Importance=Importance;
	}
	
	public void setInterest(int Interest)
	{
		this.Interest=Interest;
	}
	
	public void setPermission(int Permission)
	{
		this.Permission=Permission;
	}
	
	public void setMessage (String Message)
	{  
		this.Message=Message;
	}
	
}
	